package com.estate.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.estate.bean.Activity;
import com.estate.util.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface ActivityService extends IService<Activity> {

    JsonResult listByPage(int page, int size);

    JsonResult saveActivity(Activity activity);

    JsonResult deleteActivity(String activityId);

    JsonResult updateActivity(Activity activity);
}
